
<!DOCTYPE HTML>
<html lang="" >
    <head>
        <meta charset="UTF-8">
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <title>三、Gitbook插件运用 · Gitbook操作指南</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.3">
        <meta name="author" content="snqx-lqh">
        
        
    
    <link rel="stylesheet" href="gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-expandable-chapters/expandable-chapters.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-back-to-top-button/plugin.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-search-pro/search.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-code/plugin.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-prism/prism-okaidia.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-splitter/splitter.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-fontsettings/website.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-theme-lou/lou.css">
                
            
        

    

    
        
    
        
    
        
    
        
    
        
    
        
    

        
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="gitbook/images/favicon.ico" type="image/x-icon">

    
    <link rel="next" href="四、Nginx服务部署.html" />
    
    
    <link rel="prev" href="二、Markdown语法介绍.html" />
    

    </head>
    <body>
         

<div class="book">
  <div class="header-inner">
    <!-- LOGO -->
    <div class="logo"></div>
    <span class="title"></span>

    <!-- Search -->
    
<div id="book-search-input" role="search">
    <input type="text" placeholder="Type to search" />
</div>


    <!-- Nav -->
    <ul class="header-nav">
      <li>
        <a href="https://space.bilibili.com/336653490" target="_blank">B站</a>
      </li><li>
        <a href="https://snqx-lqh.gitee.io/" target="_blank">博客</a>
      </li><li>
        <a href="https://blog.csdn.net/wan1234512?spm=1000.2115.3001.5343" target="_blank">CSDN主页</a>
      </li>
    </ul>
  </div>

  <div class="book-summary">
    <div class="book-summary-title">文档目录</div>
     
    <nav role="navigation">


<ul class="summary">
    
    

    

    
        
        
    
        <li class="chapter " data-level="1.1" data-path="./">
            
                <a href="./">
            
                    
                    零、简介
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2" data-path="一、Node环境准备.html">
            
                <a href="一、Node环境准备.html">
            
                    
                    一、Node环境准备
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3" data-path="二、Markdown语法介绍.html">
            
                <a href="二、Markdown语法介绍.html">
            
                    
                    二、Markdown语法介绍
            
                </a>
            

            
        </li>
    
        <li class="chapter active" data-level="1.4" data-path="三、Gitbook插件运用.html">
            
                <a href="三、Gitbook插件运用.html">
            
                    
                    三、Gitbook插件运用
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5" data-path="四、Nginx服务部署.html">
            
                <a href="四、Nginx服务部署.html">
            
                    
                    四、Nginx服务部署
            
                </a>
            

            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            Published with GitBook
        </a>
    </li>
</ul>

</nav>
     
  </div>

  <!-- Content nav -->
  <div class="book-anchor">
    <div class="book-anchor-title"></div>

    <div class="book-anchor-body"></div>
  </div>

  <div class="book-body">
    
    <div class="body-inner">
       

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href="." >三、Gitbook插件运用</a>
    </h1>
</div>



      <div class="page-wrapper" tabindex="-1" role="main">
        <div class="page-inner">
          
<div id="book-search-results">
    <div class="search-noresults">
    
          <section class="normal markdown-section">
             <p>Gibook&#x6700;&#x7075;&#x6D3B;&#x7684;&#x5730;&#x65B9;&#x5C31;&#x662F;&#x6709;&#x5F88;&#x591A;&#x63D2;&#x4EF6;&#x53EF;&#x4EE5;&#x4F7F;&#x7528;&#xFF0C;&#x5F53;&#x7136;&#x5982;&#x679C;&#x5BF9;&#x63D2;&#x4EF6;&#x4E0D;&#x6EE1;&#x610F;&#xFF0C;&#x4E5F;&#x53EF;&#x4EE5;&#x81EA;&#x5DF1;&#x5199;&#x63D2;&#x4EF6;&#x3002;&#x6240;&#x6709;&#x63D2;&#x4EF6;&#x7684;&#x547D;&#x540D;&#x90FD;&#x662F;&#x4EE5;gitbook-plugin-xxx</p>
<p>&#x7684;&#x5F62;&#x5F0F;&#x3002;&#x4E0B;&#x9762;&#xFF0C;&#x6211;&#x4EEC;&#x5C31;&#x4ECB;&#x7ECD;&#x4E00;&#x4E9B;&#x5E38;&#x7528;&#x7684;&#x63D2;&#x4EF6;&#x3002;</p>
<h1 id="&#x641C;&#x7D22;&#x63D2;&#x4EF6;">&#x641C;&#x7D22;&#x63D2;&#x4EF6;</h1>
<p>&#x5728;&#x547D;&#x4EE4;&#x884C;&#x8F93;&#x5165;&#x4E0B;&#x9762;&#x547D;&#x4EE4;&#x5B89;&#x88C5;&#x641C;&#x7D22;&#x63D2;&#x4EF6;</p>
<pre class="language-"><code>npm install gitbook-plugin-search-pro
</code></pre><p>&#x5B89;&#x88C5;&#x6210;&#x529F;&#x540E;&#xFF0C;&#x5728;book.js&#x4E2D;&#x6DFB;&#x52A0;&#x63D2;&#x4EF6;&#x7684;&#x914D;&#x7F6E;&#x3002;</p>
<pre class="language-"><code class="lang-js"><span class="token punctuation">{</span>
    <span class="token literal-property property">plugins</span><span class="token operator">:</span> <span class="token punctuation">[</span><span class="token string">&apos;search-pro&apos;</span><span class="token punctuation">]</span><span class="token punctuation">;</span>
<span class="token punctuation">}</span>
</code></pre>
<h1 id="&#x4EE3;&#x7801;&#x6846;&#x63D2;&#x4EF6;">&#x4EE3;&#x7801;&#x6846;&#x63D2;&#x4EF6;</h1>
<p>&#x5728;&#x547D;&#x4EE4;&#x884C;&#x8F93;&#x5165;&#x4E0B;&#x9762;&#x547D;&#x4EE4;&#x5B89;&#x88C5;&#x4EE3;&#x7801;&#x6846;&#x67B6;&#x63D2;&#x4EF6;</p>
<pre class="language-"><code>npm install gitbook-plugin-code
</code></pre><p>&#x5B89;&#x88C5;&#x6210;&#x529F;&#x540E;&#xFF0C;&#x5728;book.js&#x4E2D;&#x6DFB;&#x52A0;&#x63D2;&#x4EF6;&#x7684;&#x914D;&#x7F6E;&#x3002;</p>
<pre class="language-"><code class="lang-js"><span class="token punctuation">{</span>
    <span class="token literal-property property">plugins</span><span class="token operator">:</span> <span class="token punctuation">[</span><span class="token string">&apos;code&apos;</span><span class="token punctuation">]</span><span class="token punctuation">;</span>
<span class="token punctuation">}</span>
</code></pre>
<h1 id="&#x81EA;&#x5B9A;&#x4E49;&#x4E3B;&#x9898;&#x63D2;&#x4EF6;">&#x81EA;&#x5B9A;&#x4E49;&#x4E3B;&#x9898;&#x63D2;&#x4EF6;</h1>
<p>&#x5728;&#x547D;&#x4EE4;&#x884C;&#x8F93;&#x5165;&#x4E0B;&#x9762;&#x547D;&#x4EE4;&#x5B89;&#x88C5;&#x81EA;&#x5B9A;&#x4E49;&#x4E3B;&#x9898;&#x63D2;&#x4EF6;</p>
<pre class="language-"><code>npm install gitbook-plugin-theme-&#x4E3B;&#x9898;&#x540D;
</code></pre><p>&#x5B89;&#x88C5;&#x6210;&#x529F;&#x540E;&#xFF0C;&#x5728;book.js&#x4E2D;&#x6DFB;&#x52A0;&#x63D2;&#x4EF6;&#x7684;&#x914D;&#x7F6E;&#x3002;</p>
<pre class="language-"><code class="lang-js"><span class="token punctuation">{</span>
    <span class="token literal-property property">plugins</span><span class="token operator">:</span> <span class="token punctuation">[</span><span class="token string">&apos;theme-&#x4E3B;&#x9898;&#x540D;&apos;</span><span class="token punctuation">]</span><span class="token punctuation">;</span>
<span class="token punctuation">}</span>
</code></pre>
<h1 id="&#x83DC;&#x5355;&#x6298;&#x53E0;&#x63D2;&#x4EF6;">&#x83DC;&#x5355;&#x6298;&#x53E0;&#x63D2;&#x4EF6;</h1>
<p>&#x5728;&#x547D;&#x4EE4;&#x884C;&#x8F93;&#x5165;&#x4E0B;&#x9762;&#x547D;&#x4EE4;&#x5B89;&#x88C5;&#x83DC;&#x5355;&#x6298;&#x53E0;&#x63D2;&#x4EF6;</p>
<pre class="language-"><code>npm install gitbook-plugin-expandable-chapters
</code></pre><p>&#x5B89;&#x88C5;&#x6210;&#x529F;&#x540E;&#xFF0C;&#x5728;book.js&#x4E2D;&#x6DFB;&#x52A0;&#x63D2;&#x4EF6;&#x7684;&#x914D;&#x7F6E;&#x3002;</p>
<pre class="language-"><code class="lang-js"><span class="token punctuation">{</span>
    <span class="token literal-property property">plugins</span><span class="token operator">:</span> <span class="token punctuation">[</span><span class="token string">&apos;expandable-chapters&apos;</span><span class="token punctuation">]</span><span class="token punctuation">;</span>
<span class="token punctuation">}</span>
</code></pre>
<h1 id="&#x8FD4;&#x56DE;&#x9876;&#x90E8;&#x63D2;&#x4EF6;">&#x8FD4;&#x56DE;&#x9876;&#x90E8;&#x63D2;&#x4EF6;</h1>
<p>&#x5728;&#x547D;&#x4EE4;&#x884C;&#x8F93;&#x5165;&#x4E0B;&#x9762;&#x547D;&#x4EE4;&#x5B89;&#x88C5;&#x8FD4;&#x56DE;&#x9876;&#x90E8;&#x63D2;&#x4EF6;</p>
<pre class="language-"><code>npm install gitbook-plugin-back-to-top-button
</code></pre><p>&#x5B89;&#x88C5;&#x6210;&#x529F;&#x540E;&#xFF0C;&#x5728;book.js&#x4E2D;&#x6DFB;&#x52A0;&#x63D2;&#x4EF6;&#x7684;&#x914D;&#x7F6E;&#x3002;</p>
<pre class="language-"><code class="lang-js"><span class="token punctuation">{</span>
    <span class="token literal-property property">plugins</span><span class="token operator">:</span> <span class="token punctuation">[</span><span class="token string">&apos;back-to-top-button&apos;</span><span class="token punctuation">]</span><span class="token punctuation">;</span>
<span class="token punctuation">}</span>
</code></pre>
<blockquote>
<p>:bulb: Tip</p>
<p>&#x66F4;&#x591A;&#x63D2;&#x4EF6;&#x53EF;&#x4EE5;&#x4ECE;<a href="https://plugins.gitbook.com/&#x83B7;&#x53D6;&#x3002;" target="_blank">https://plugins.gitbook.com/&#x83B7;&#x53D6;&#x3002;</a></p>
</blockquote>
 
          </section>
          
    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>
 
          <div class="book-footer">
             
            <div class="copyright"></div>
            
          </div>
          
        </div>
      </div>
      
    </div>

     
    <a
      href="二、Markdown语法介绍.html"
      class="
        navigation navigation-prev
        
      "
      aria-label="Previous page: 二、Markdown语法介绍"
    >
      <i class="fa fa-angle-left"></i>
    </a>
     
    <a
      href="四、Nginx服务部署.html"
      class="
        navigation navigation-next
        
      "
      aria-label="Next page: 四、Nginx服务部署"
    >
      <i class="fa fa-angle-right"></i>
    </a>
      
  </div>
  <script>
    function showModal() {
      document.getElementsByClassName("mask")[0].style.display = "block";
      document.getElementsByClassName("donate-modal")[0].style.display =
        "block";
    }
    // 切换赞赏码
    function showDonateImg(num) {
      let alipay = "";
      let wxpay = ""
      if(num){
        wxpay = "hidden"
      }else{
        alipay = "hidden"
      }
      document.getElementById("wxpay-code").hidden = wxpay;
      document.getElementById("alipay-code").hidden = alipay;
      document.getElementsByName("pay-way")[num].checked = "checked";
    }

    // 关闭赞赏框
    function closeDonateModal() {
      document.getElementsByClassName("mask")[0].style.display = "none";
      document.getElementsByClassName("donate-modal")[0].style.display = "none";
    }

    var gitbook = gitbook || [];
    gitbook.push(function () {
      gitbook.page.hasChanged({"page":{"title":"三、Gitbook插件运用","level":"1.4","depth":1,"next":{"title":"四、Nginx服务部署","level":"1.5","depth":1,"path":"四、Nginx服务部署.md","ref":"四、Nginx服务部署.md","articles":[]},"previous":{"title":"二、Markdown语法介绍","level":"1.3","depth":1,"path":"二、Markdown语法介绍.md","ref":"二、Markdown语法介绍.md","articles":[]},"dir":"ltr"},"config":{"plugins":["-lunr","-sharing","-search","-favicon","-highlight","expandable-chapters","theme-lou","back-to-top-button","search-pro","code","prism","splitter","livereload"],"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"prism":{"css":["prismjs/themes/prism-okaidia.css"]},"livereload":{},"splitter":{},"search-pro":{},"code":{"copyButtons":true},"theme-lou":{"hide-elements":[".summary .gitbook-link"],"color":"#2096FF","copyright":{"author":"snqx-lqh"},"forbidCopy":false,"logo":"assets/logo.png","search-placeholder":"众里寻他千百度","copyrightLogo":"","favicon":"assets/favicon.ico","autoNumber":3},"fontsettings":{"theme":"white","family":"sans","size":2},"back-to-top-button":{},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"expandable-chapters":{}},"theme":"default","author":"snqx-lqh","lang":"zh-cn","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{"themeLou":{"nav":[{"target":"_blank","url":"https://space.bilibili.com/336653490","name":"B站"},{"target":"_blank","url":"https://snqx-lqh.gitee.io/","name":"博客"},{"target":"_blank","url":"https://blog.csdn.net/wan1234512?spm=1000.2115.3001.5343","name":"CSDN主页"}],"footer":{"copyright":true}}},"title":"Gitbook操作指南","gitbook":"*","description":"Gitbook电子书示例项目"},"file":{"path":"三、Gitbook插件运用.md","mtime":"2023-07-28T14:30:15.970Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2023-07-29T14:55:02.895Z"},"basePath":".","book":{"language":""}});
    });
  </script>
</div>

        
    <script src="gitbook/gitbook.js"></script>
    <script src="gitbook/theme.js"></script>
    
        
        <script src="gitbook/gitbook-plugin-expandable-chapters/expandable-chapters.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-back-to-top-button/plugin.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-search-pro/jquery.mark.min.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-search-pro/search.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-code/plugin.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-splitter/splitter.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-livereload/plugin.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-theme-lou/lou.js"></script>
        
    

    </body>
</html>

